package com.sti.framework.models.UploadFiles.data;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@ApiModel(value = "UploadFile", description = "文件上传")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UploadFileObject implements Serializable {

    /**
     * 源文件名
     */
    @ApiModelProperty(value = "源文件名")
    private String name;

    /**
     * 文件路径
     */
    @ApiModelProperty(value = "文件路径")
    private String url;

    /**
     * 文件名
     */
    @ApiModelProperty(value = "新文件名")
    private String newName;

    /**
     * 大小
     */
    @ApiModelProperty(value = "大小")
    private Long size;

    /**
     * 扩展名
     */
    @ApiModelProperty(value = "扩展名")
    private String ext;
}